<template>
  <div class="dialog" v-show="show">
    <div class="content">
      
      <div class="footer">
        <button @click="$emit('ok')">确定</button>
        <button @click="$emit('close')">取消</button>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ['show']
}
</script>

<style lang="scss">
.dialog {
  background-color: rgba($color: #000000, $alpha: .6);
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  .content {
  
  }
}
</style>